﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SHZY.Common.Const;
using SHZY.Common.Contracts;
using SqlSugar;

namespace SHZY.BaseData.Entitys
{
    /// <summary>
    /// 供应商实体.
    /// </summary>
    [SugarTable("qms_base_supplier", "供应商")]
    [Tenant(ClaimConst.TENANTID)]
    public class QmsBaseSupplierEntity : CLDEntityBase
    {
        /// <summary>
        /// GUID.
        /// </summary>
        //[SugarColumn(ColumnName = "F_Id", ColumnDescription = "GUID", IsPrimaryKey = true)]
        //public string Id { get; set; }

        /// <summary>
        /// 供应商编码.
        /// </summary>
        [SugarColumn(ColumnName = "F_Code", ColumnDescription = "供应商编码")]
        public string Code { get; set; }

        /// <summary>
        /// 供应商名称.
        /// </summary>
        [SugarColumn(ColumnName = "F_Name", ColumnDescription = "供应商名称")]
        public string Name { get; set; }

        /// <summary>
        /// 供应商类型.
        /// </summary>
        [SugarColumn(ColumnName = "F_Type", ColumnDescription = "供应商类型")]
        public string Type { get; set; }

        /// <summary>
        /// 供应商分类.
        /// </summary>
        [SugarColumn(ColumnName = "F_Classify", ColumnDescription = "供应商分类")]
        public string Classify { get; set; }

        /// <summary>
        /// 备注.
        /// </summary>
        [SugarColumn(ColumnName = "F_Remarks", ColumnDescription = "备注")]
        public string Remarks { get; set; }
    }
}
